package com.herench.bs.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 账单记录
 * Created by luoxiaoming on 2017/7/1.
 */
public class BillingRecord implements Serializable{
    private static final long serialVersionUID = 7141924613297112480L;

    private String billId;//账单id
    private String hospitalCode;//医院代码
    private String doctorCode;//医生代码
    private String deptCode;//科室代码
    private String appointmentCode;//预约号id
    private Date appointDate; //预约日期
    private String transactNo;//合同号
    private String orderId;//院内订单号
    private String patientId;//院内病人ID
    private String visitNo;//门诊病人为就诊号
    private String prescriptionNum;//处方号
    private String channelCode;//来源 1.IOS，2.安卓，3.微网站，4.服务窗 5.web 6、自助机 、7、其他
    private String personId;//病人id
    private String idCard;//病人身份证号
    private String personName;//病人姓名
    private String phone;//病人电话
    private String username;//操作账号
    private String cardType;//卡类型
    private String cardNum; //卡号
    private String patientType;//病人类型
    private String costType; //费用类别
    private String totalCost;//应付金额
    private String paySeq;//请求交易序列
    private String tradeNo;//交易流水
    private String cost;//费用
    private String additionalCost;//额外费用（可正可负）
    private String insuranceAmount;//医保支付金额 注意：支付后填写
    private String personalAmount;//个人账户支付金额
    private String otherAmount;//自费支付金额
    private String paymentAmount;//支付金额 默认为 0  支付金额= 费用 + 额外费用
    private String refundAmount;//退费金额
    private String payWay;//自费支付渠道
    private String refundWay;//退费渠道
    private String additionalCostExplain;//额外费用说明
    private Date visitDate;//就诊日期
    private Date createTime;//订单创建时间
    private Date modifyTime;//订单修改时间
    private Date invalidTime;//失效时间
    private Date payTime;//支付时间
    private String billTypeCode;//订单类型代码
    private String terminalCode;//终端ID 自助机使用时需要填写ID，其他填渠道id
    private String payType;//支付方式
    private String state ;//状态


    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundWay() {
        return refundWay;
    }

    public void setRefundWay(String refundWay) {
        this.refundWay = refundWay;
    }

    public String getPaySeq() {
        return paySeq;
    }

    public void setPaySeq(String paySeq) {
        this.paySeq = paySeq;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getAppointmentCode() {
        return appointmentCode;
    }

    public void setAppointmentCode(String appointmentCode) {
        this.appointmentCode = appointmentCode;
    }

    public Date getAppointDate() {
        return appointDate;
    }

    public void setAppointDate(Date appointDate) {
        this.appointDate = appointDate;
    }

    public String getTransactNo() {
        return transactNo;
    }

    public void setTransactNo(String transactNo) {
        this.transactNo = transactNo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getVisitNo() {
        return visitNo;
    }

    public void setVisitNo(String visitNo) {
        this.visitNo = visitNo;
    }

    public String getPrescriptionNum() {
        return prescriptionNum;
    }

    public void setPrescriptionNum(String prescriptionNum) {
        this.prescriptionNum = prescriptionNum;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getPatientType() {
        return patientType;
    }

    public void setPatientType(String patientType) {
        this.patientType = patientType;
    }

    public String getCostType() {
        return costType;
    }

    public void setCostType(String costType) {
        this.costType = costType;
    }

    public String getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(String totalCost) {
        this.totalCost = totalCost;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public String getAdditionalCost() {
        return additionalCost;
    }

    public void setAdditionalCost(String additionalCost) {
        this.additionalCost = additionalCost;
    }

    public String getInsuranceAmount() {
        return insuranceAmount;
    }

    public void setInsuranceAmount(String insuranceAmount) {
        this.insuranceAmount = insuranceAmount;
    }

    public String getPersonalAmount() {
        return personalAmount;
    }

    public void setPersonalAmount(String personalAmount) {
        this.personalAmount = personalAmount;
    }

    public String getOtherAmount() {
        return otherAmount;
    }

    public void setOtherAmount(String otherAmount) {
        this.otherAmount = otherAmount;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(String paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getAdditionalCostExplain() {
        return additionalCostExplain;
    }

    public void setAdditionalCostExplain(String additionalCostExplain) {
        this.additionalCostExplain = additionalCostExplain;
    }

    public Date getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getBillTypeCode() {
        return billTypeCode;
    }

    public void setBillTypeCode(String billTypeCode) {
        this.billTypeCode = billTypeCode;
    }

    public String getTerminalCode() {
        return terminalCode;
    }

    public void setTerminalCode(String terminalCode) {
        this.terminalCode = terminalCode;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
